package com.paradogs.framework.core.queue;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: yumi
 * @date: 2023/7/27  19:16
 * @Description: TODO
 */
@Data
@Slf4j
@Component
@ConfigurationProperties("paradogs.queue")
public class QueueProperties {

    /**
     * 消息逻辑处理队列
     */
    private int mainSize = 1;

    /**
     * DB 持久化消息处理队列
     */
    private int dbSize = 0;

}
